package com.google.android.exoplayer2.metadata.id3;

import android.os.Parcel;
import android.os.Parcelable.Creator;
import androidx.annotation.Nullable;
import o.anr;

public final class UrlLinkFrame extends Id3Frame {
    public static final Creator<UrlLinkFrame> CREATOR = new Creator<UrlLinkFrame>() {
        public /* synthetic */ Object createFromParcel(Parcel parcel) {
            return ˋ(parcel);
        }

        public /* synthetic */ Object[] newArray(int i) {
            return ˎ(i);
        }

        public UrlLinkFrame ˋ(Parcel parcel) {
            return new UrlLinkFrame(parcel);
        }

        public UrlLinkFrame[] ˎ(int i) {
            return new UrlLinkFrame[i];
        }
    };
    public final String ˋ;
    @Nullable
    public final String ˎ;

    public UrlLinkFrame(String str, @Nullable String str2, String str3) {
        super(str);
        this.ˎ = str2;
        this.ˋ = str3;
    }

    UrlLinkFrame(Parcel parcel) {
        super((String) anr.ˎ(parcel.readString()));
        this.ˎ = parcel.readString();
        this.ˋ = (String) anr.ˎ(parcel.readString());
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        UrlLinkFrame urlLinkFrame = (UrlLinkFrame) obj;
        if (this.ʻ.equals(urlLinkFrame.ʻ) && anr.ˎ(this.ˎ, urlLinkFrame.ˎ) && anr.ˎ(this.ˋ, urlLinkFrame.ˋ)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int hashCode;
        int i = 0;
        int hashCode2 = (this.ʻ.hashCode() + 527) * 31;
        if (this.ˎ != null) {
            hashCode = this.ˎ.hashCode();
        } else {
            hashCode = 0;
        }
        hashCode = (hashCode + hashCode2) * 31;
        if (this.ˋ != null) {
            i = this.ˋ.hashCode();
        }
        return hashCode + i;
    }

    public String toString() {
        return this.ʻ + ": url=" + this.ˋ;
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(this.ʻ);
        parcel.writeString(this.ˎ);
        parcel.writeString(this.ˋ);
    }
}
